/*
 * @Author: songtao
 * @Date: 2021-11-08 19:26:31
 * @LastEditTime: 2021-11-10 14:30:01
 * @FilePath: \vue-cars\vue-admin\src\api\login.js
 */
import service from "@/utils/request"

// 获取验证码
export function GetSms(data){
    return service.request({
        method:'post',
        url:'/getSms/',
        data:data
    })
}

// 注册
export function Register(data){
    return service.request({
        method:'post',
        url:'/register/',
        data:data
    })
}

// 登录
export function Login(data){
    return service.request({
        method:'post',
        url:'/login/',
        data:data
    })
}